<ul>
    <?php foreach($this->getBestIdeas() as $post): ?>
    <li>
    <em><?php echo $post->up;?></em>
    <?php echo CHtml::image(themeUrl().'/images/thumb-up.jpg','up',array('class'=>'thumb-img'));?>
    <?php echo '<em>'.CHtml::encode(firstWordsExt($post->content_no_tag,$this->firstWord,'...')). '</em> (<strong>'.CHtml::link($post->user->username,'#').'</strong>)'; ?>
    
    </li>
    <?php endforeach; ?>
</ul>